package com.mes.cloud.api.dto.response.organization;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 组织表
 * 
 * @author xy
 * @email yuan.xue3@pactera.com
 * @version 2019-07-30 10:10:54
 */
@Data
@ApiModel("组织表dto")
public class SysOrganizationDto implements Serializable{
    private static final long serialVersionUID=1L;
    @ApiModelProperty(value = "主键ID", required = false)
    private String id;
    @ApiModelProperty(value = "组织编码", required = false)
    private String code;
    @ApiModelProperty(value = "组织名称", required = false)
    private String name;
    @ApiModelProperty(value = "组织别名", required = false)
    private String aliasName;
    @ApiModelProperty(value = "SF编码", required = false)
    private String sfCode;
    @ApiModelProperty(value = "组织类型", required = false)
    private String type;
    @ApiModelProperty(value = "组织层级", required = false)
    private String level;
    @ApiModelProperty(value = "组织标识", required = false)
    private String flag;
    @ApiModelProperty(value = "上级组织", required = false)
    private String parentId;
    @ApiModelProperty(value = "详细地址", required = false)
    private String addressDetail;
    @ApiModelProperty(value = "父级组", required = false)
    private String parentGroup;
    @ApiModelProperty(value = "成本中心编码", required = false)
    private String costCode;
    @ApiModelProperty(value = "组织备注", required = false)
    private String remark;
    @ApiModelProperty(value = "状态(0：禁用，1：启用)", required = false)
    private String enableFlag;
    @ApiModelProperty(value = "删除标记，1：删除，0：未删除", required = false)
    private String delFlag;
    @ApiModelProperty(value = "创建人", required = false)
    private String createBy;
    @ApiModelProperty(value = "创建时间", required = false)
    private Date createTime;
    @ApiModelProperty(value = "组织渠道", required = false)
    private String channel;
    @ApiModelProperty(value = "是否更新上级组织(0.否 1.是)", required = false)
    private String updateParentFlag;
    @ApiModelProperty(value = "创建人工号", required = false)
    private String createByNo;

    @ApiModelProperty(value = "修改人工号", required = false)
    private String updateByNo;
    @ApiModelProperty(value = "更新时间", required = false)
    private Date updateTime;
}
